package com.shu.hash;

public class HashThread implements Runnable{

	private String openid;
	
	public HashThread(String openid) {
		super();
		this.openid = openid;
	}

	public void run() {
		int id = openid.hashCode();
    	int rem = (int) Math.floor((Math.abs(id) / 4) % 100);
    	System.out.println(Thread.currentThread().getName()+":"+id+","+rem);		
	}

	
}
